package com.example.siyun.service.impl.microserviceimpl;

import com.example.siyun.mapper.micromapper.MicroAuditMapper;
import com.example.siyun.pojo.MicroAudit;
import com.example.siyun.service.microservice.MicroAuditService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Auther: 全
 * @Date: 2022/9/26 09:33
 * @Description:教师模块微圈核查
 */
@Service
public class MicroAuditServiceImpl implements MicroAuditService {
    @Autowired
    private MicroAuditMapper microAuditMapper;
    /**
     * 添加微圈审核记录
     */
    @Transactional
    @Override
    public void courseAuditAdd(MicroAudit microaudit) {
        microAuditMapper.microAuditAdd(microaudit);
    }
    /**
     * 通过id查询审核的状态
     */
    @Transactional
    @Override
    public void microAppStatusById(int shstatus, int aid) {
        microAuditMapper.microAppStatusById(shstatus,aid);
    }
}
